﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// AspNetPagerInfo 的摘要说明
/// </summary>
public class AspNetPagerInfo
{
    private string _TableName;
    private string _SqlWhere;
    private string _SqlOrder;
    private string _SqlFile;
    private string _KeyField;
    private string _FieldType;
    private int _PageSize;
    private int _PageIndex;

    /// <summary>
    /// 信息表或视图
    /// </summary>
    public string TableName
    {
        get
        {
            return _TableName;
        }
        set
        {
            _TableName = value;
        }
    }

    /// <summary>
    /// 信息检索条件
    /// </summary>
    public string SqlWhere
    {
        get
        {
            return _SqlWhere;
        }
        set
        {
            _SqlWhere = value;
        }
    }

    /// <summary>
    /// 排序关键字
    /// </summary>
    public string SqlOrder
    {
        get
        {
            return _SqlOrder;
        }
        set
        {
            _SqlOrder = value;
        }
    }

    /// <summary>
    /// 检索字段，各个字段用‘,’分割
    /// </summary>
    public string SqlFile
    {
        get
        {
            return _SqlFile;
        }
        set
        {
            _SqlFile = value;
        }
    }

    /// <summary>
    /// 关键字名称
    /// </summary>
    public string KeyField
    {
        get
        {
            return _KeyField;
        }
        set
        {
            _KeyField = value;
        }
    }

    /// <summary>
    /// 关键字类型
    /// </summary>
    public string FieldType
    {
        get
        {
            return _FieldType;
        }
        set
        {
            _FieldType = value;
        }
    }

    /// <summary>
    /// 分页大小
    /// </summary>
    public int PageSize
    {
        get
        {
            return _PageSize;
        }
        set
        {
            _PageSize = value;
        }
    }

    /// <summary>
    /// 页面索引
    /// </summary>
    public int PageIndex
    {
        get
        {
            return _PageIndex;
        }
        set
        {
            _PageIndex = value;
        }
    }
}
